﻿using System;
using System.Collections.Generic;
using System.Text;

using Obsidian.Edm;

namespace Oak.Model
{
    public class MsIconInfo : OModel
    {

        private LongField iconId;
        private LongField parentId;
        private LongField frameId;
        private IntField depth;
        private StringField iconImage;
        private StringField iconText;
        private BoolField isSystemIcon;
        private IntField sortOrder;

        public MsIconInfo()
        {
            base.InitModel("oak", "MsIcons", new IModelField[]{
                iconId = new LongField(this, "IconId", "iconId"),
                parentId = new LongField(this, "ParentId", "parentId"),
                frameId = new LongField(this, "FrameId", "frameId"),
                depth = new IntField(this, "Depth", "depth"),
                iconImage = new StringField(this, "IconImage", "iconImg"),
                iconText = new StringField(this, "IconText", "text"),
                isSystemIcon = new BoolField(this, "IsSystemIcon", "isSystemIcon"),
                sortOrder = new IntField(this, "SortOrder", "sortOrder")
            });
        }

        public LongField IconId { get { return iconId; } }
        public LongField ParentId { get { return parentId; } }
        public LongField FrameId { get { return frameId; } }
        public IntField Depth { get { return depth; } }
        public StringField IconImage { get { return iconImage; } }
        public StringField IconText { get { return iconText; } }
        public BoolField IsSystemIcon { get { return isSystemIcon; } }
        public IntField SortOrder { get { return sortOrder; } }

    }
}
